using System; 
using System.Collections.Generic; 
using System.Text; 
using FluentNHibernate.Mapping;
using NH_Entity;

namespace NH_Map
{


    public class QHY_RoleModuleMap : ClassMap<QHY_RoleModule>
    {

        public QHY_RoleModuleMap()
        {
            Table("QHY_RoleModules");
            LazyLoad();
            Id(x => x.ID).GeneratedBy.Identity().Column("ID");
            Map(x => x.RoleID).Column("RoleID").Not.Nullable();
            Map(x => x.ModuleID).Column("ModuleID").Not.Nullable();
        }
    }
}
